Create New Authentication Flow
Create New Authentication Flow
Path Parameters
workspaceName string required
Header Parameters
Authentication string
Example: Bearer {{token}}
application/json
Request Body
idstring
Authentication flow id
aliasstring
Authentication flow name
descriptionstring
Description for the flow
providerIdstring
Provider Id for the flow ex(basic-flow)
topLevelboolean
If it's true it will be in top of the flow
builtInboolean
This boolean value indicates whether it is builtIn flow or custom flow
templateTypestring
It indicates flow type ex(onboarding, login, recovery)
templateAliasstring
Template type description or name
hiddenboolean
If it is true it won't visible in the dashboard.
installedboolean
If this flow is used in the application it will be true. In default it will false
Sample Request Body
{
"id":"909b9aa6-9279-4065-91a4-91c5fed8b15r",
"alias":"email9876",
"description":"This is the Custom onboarding Flow with the name of email9876",
"providerId":"basic-flow",
"topLevel":true,
"builtIn":false,
"templateType":"onboarding",
"templateAlias":"This is the Custom onboarding Flow with the name of email9876",
"hidden":false,
"installed":true
}
| HTTP STATUS CODE SUMMARY | ||
|---|---|---|
| 200 - OK | Successfully done. | |
| 201 - OK | Successfully created. | |
| 400 - Bad Request | The request was unacceptable, often due to missing a required parameter. | |
| 401 - Unauthorized | Unauthorized access try with correct access. | |
| 402 - Request Failed | The parameters were valid but the request failed. | |
| 403 - Forbidden | The Application doesn't have permissions to perform the request. | |
| 404 - Not Found | The requested resource doesn't exist | |
| 500 - Server Errors | Something went wrong on ezto auth's end. (These are rare.) | |
| 503 - Server Errors | Service temporarily unavailable |
Loading...